import request from '../utils/request.js'

export const login = (data) => {
	return request({
		url: 'user/login',
		method: 'POST',
		data
	})
}

export const clkLogin = (data) => {
	return request({
		url: 'wx/login',
		method: 'POST',
		data
	})
}

export const getUserInfo = () => {
	return request({
		url: 'user/info'
	})
}